﻿@using InnovaApp.Layers.ResourcesLayer.Properties
@model InnovaApp.Portals.MVC4Portal.Models.MetaModels.ContactManagement.ManagedContact_MetaModel
@Html.HiddenFor(x => x.Id)
@Html.HiddenFor(x => x.FK_InnoAppUser)
@Html.HiddenFor(x => x.IconPath)
<ol class="olIcon">
    <li>
        <div><img id="UserProfileIconImg" src="@Model.IconPath" alt="@Model.IconAlt" /></div>
        <input type="button" id="UserProfileIconImgUploadButton" value="@Resources.View_MyProfile_cap_iconUploadDialogOpenButton" class="ContactDetailsButton" />
    </li>
</ol>
<ol class="olMainForm">
    <li>
        @Html.LabelFor(m => m.FK_Genre)
        @Html.DropDownListFor(m => m.FK_Genre, Model.Genres)
        @Html.ValidationMessageFor(m => m.FK_Genre)
    </li>
    <li>
        @Html.LabelFor(m => m.FirstName)
        @Html.TextBoxFor(m => m.FirstName, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.FirstName)
    </li>
    <li>
        @Html.LabelFor(m => m.LastName)
        @Html.TextBoxFor(m => m.LastName, new { @class = "k-input" })
        @Html.ValidationMessageFor(m => m.LastName)
    </li>
    <li>
        @Html.LabelFor(m => m.BirthDate)
        @Html.TextBoxFor(m => m.BirthDate, "{0:dd/MM/yyyy}", new { @class = "k-input datePickUp", placeholder = Resources.View_All_DateFormat })
        @Html.ValidationMessageFor(m => m.BirthDate)
    </li>
    <li>
        @Html.LabelFor(m => m.FK_Language)
        @Html.DropDownListFor(m => m.FK_Language, Model.Languages)
        @Html.ValidationMessageFor(m => m.FK_Language)
    </li>
</ol>
@Html.HiddenFor(m => m.GoogleMapLat)@Html.HiddenFor(m => m.GoogleMapLng)
